Specification and validation of communications in client/server models
نویسنده
چکیده
Errors such as deadlock and race conditions are very common yet extremely difficult to debug in the communications design of client/server models based on remote procedure call and multi-threading. This paper presents an effective approach to detect these errors. It shows how to apply the specification and validation techniques in Protocol Engineering to discover those errors in the early stages of a client/server software development. The work is based on the protocol specification and validation tool PROMELA/SPIN. PROMELA is extended to a new language called PROMELA-C/S for additional expressive power of specifying client/server communications. A PROMELA-C/S translator then is built to convert PROMELA-C/S to PROMELA for running validation using SPIN. The paper also reports the results of some specification and validation trials using PROMELA-C/S, its translator, and SPIN.
منابع مشابه
JAVA-Based XML Utility for the NIST Machine Tool Data Repository
The National Institute of Standards and Technology (NIST) is developing a specification for a standard format to represent machine tool performance test data. This data is used for machine acceptance, predictive maintenance, error compensation, and to evaluate the capability of a machine or contractor to manufacture parts to specified tolerances. This paper describes the implementation of a JAV...
متن کاملDon't Repeat Yourself: Automatically Synthesizing Client-side Validation Code for Web Applications
In this paper, we outline the groundwork for a new software development approach where developers author the server-side application logic and rely on tools to automatically synthesize the corresponding client-side application logic. Our approach uses program analysis techniques to extract a logical specification from the server and synthesizes client code from that specification. Our implement...
متن کاملA Formal Development and Validation Methodology for System Design
This paper presents first a formal development methodology that enables the validation of formal specifications as well as program codes wrt client’s requirements. The methodology is based on the two languages framework: it advocates the joint use of a model-oriented specification and a logical language. Second, the paper describes development guidelines for system design within the proposed me...
متن کاملA Novel Method for VANET Improvement using Cloud Computing
In this paper, we present a novel algorithm for VANET using cloud computing. We accomplish processing, routing and traffic control in a centralized and parallel way by adding one or more server to the network. Each car or node is considered a Client, in such a manner that routing, traffic control, getting information from client and data processing and storing are performed by one or more serve...
متن کاملMethod of Video-Measurements of Traffic Flow Characteristics at a Road Junction
In the theory of traffic flows the main characteristics are: intensity, speed, and density. They make it possible to use hydrodynamic models. In connection with the development of modern highways and road networks, traffic flows behavior is becoming more and more complex and diverse. In particular, the B.Kerner studies have shown that the laminar solution of hydrodynamic models is poorly corre...
متن کامل